﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace Zzw
{
    public static class ListHelper
    {
        /// <summary>
        /// 任意对象转成List
        /// </summary>
        /// <param name="color"></param>
        /// <returns></returns>
        public static List<T> ToList<T>(this object value) where T : class, new()
        {
            Type type = value.GetType();
            //for(var item in value)
            //{

            //}
            return new List<T>();
        }
    }
}